package cn.chl.mapper;

import cn.chl.domain.Device;
import cn.chl.domain.Floor;

import java.util.List;

public interface DeviceMapper {

    void add(Device device);

    Device getDeviceInfoById(Integer id);

    List<Device> getBuildById(Integer id);

    List<Device> getFloorById(Integer id);

    List<Device> getTypeById(Integer type);
}
